package com.woniuxy.charin.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.woniuxy.charin.model.entity.ChargingPile;
import com.woniuxy.charin.model.entity.Station;
import com.woniuxy.charin.model.vo.PageResponse;

import java.util.List;

/**
 * 服务接口
 *
 * @author
 * @description
 * @since 2024-12-23 20:40:30
 */
public interface StationService extends IService<Station> {

    PageResponse<Station> getStationList(String StationName, String status, String address, int page, int size);

    void onlineStation(int id);

    void deleteStation(int id);

    void addStation(Station station);

    void updateStation(Station station);

    void offlineStation(int id);

    List<ChargingPile> createStationWithChargingPiles(Station station, List<ChargingPile> chargingPiles);

    List<ChargingPile> updateStationWithChargingPiles(Station station, List<ChargingPile> chargingPiles);


}
